package com.efast.dmom.aps.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.efast.dmom.aps.dao.base.BaseDao;
import com.efast.dmom.aps.entity.CustomerPartEntity;

public interface CustomerPartDao extends BaseDao<CustomerPartEntity>{

	CustomerPartEntity getCustomerPartByCustomerIdAndPartId(@Param("customerId") long customerId,@Param("partId") long partId);

	List<CustomerPartEntity> getCustomerPartByPartId(long partId);

	List<CustomerPartEntity> getCustomerPartByCustomerId(long customerId);

}
